home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / tool / ugoku / src / movplay / imvabou.c next >
C/C++ Source or Header  |  1994-11-16  |  3KB  |  119 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    alertId ;
  9. extern int    messageId[3] ;
  10. extern int    dspIconId ;
  11. extern int    aboutOKBtnId ;
  12. extern int    aboutOKFunc() ;
  13.  
  14. #define ALIGN    4
  15. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  16.  
  17. /*    MMI_init 用データ    */
  18.  
  19. /*    ヘッダ    */
  20.  
  21. MMIINIT    initDataIMVABOU = { "MmiInit",   6, 0 } ;
  22.  
  23. /* alertId */
  24.  
  25. static MMIPACKET d001 = {    &alertId,
  26.                             NULL,
  27.                             &MJ_ALERTL40,
  28.                             OFFSET(ALERTL40),
  29.                             MS_NONE
  30.                         } ;
  31. static ALERTL40    d001d = {    MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
  32.                              166, 161, 474, 320, 8, 4, 0,
  33.                             MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
  34.                             NULL,   0,   0,
  35.                                0,   0,   0,   0
  36.                         } ;
  37.  
  38. /* messageId[0] */
  39.  
  40. static MMIPACKET d002 = {    &messageId[0],
  41.                             &alertId,
  42.                             &MJ_MSGL40,
  43.                             OFFSET(MSGL40),
  44.                             MS_NONE
  45.                         } ;
  46. static MSGL40    d002d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  47.                              213, 212, 427, 235, 0,15, 8,
  48.                             MS_NONEL40,
  49.                             "動くざんす V2.1 L11b",
  50.                                2,  16,  16,
  51.                             MS_BOLDL40,
  52.                                0,   0
  53.                         } ;
  54.  
  55. /* messageId[1] */
  56.  
  57. static MMIPACKET d003 = {    &messageId[1],
  58.                             &alertId,
  59.                             &MJ_MSGL40,
  60.                             OFFSET(MSGL40),
  61.                             MS_NONE
  62.                         } ;
  63. static MSGL40    d003d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  64.                              225, 246, 419, 263, 0,15, 8,
  65.                             MS_NONEL40,
  66.                             "Copyright(c)1994 HiroshiTODA",
  67.                                1,  12,  12,
  68.                             MS_NONEL40,
  69.                                0,   0
  70.                         } ;
  71.  
  72. /* dspIconId */
  73.  
  74. static MMIPACKET d004 = {    &dspIconId,
  75.                             &alertId,
  76.                             &MJ_ICONL40,
  77.                             OFFSET(ICONL40),
  78.                             MS_NONE
  79.                         } ;
  80. static ICONL40    d004d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40 | MS_DSPONLYL40,
  81.                              178, 171, 215, 206, 8, 4, 8,
  82.                             MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
  83.                             0,
  84.                             0x0000,  37
  85.                         } ;
  86.  
  87. /* aboutOKBtnId */
  88.  
  89. static MMIPACKET d005 = {    &aboutOKBtnId,
  90.                             &alertId,
  91.                             &MJ_DBUTTONL40,
  92.                             OFFSET(DBUTTONL40),
  93.                             MS_NONE
  94.                         } ;
  95. static DBUTTONL40    d005d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
  96.                              284, 278, 357, 303,12, 4, 8,
  97.                             MS_PANELL40 | MS_FRAMEL40,
  98.                             aboutOKFunc,
  99.                             0x8012
  100.                         } ;
  101.  
  102. /* messageId[2] */
  103.  
  104. static MMIPACKET d006 = {    &messageId[2],
  105.                             &alertId,
  106.                             &MJ_MSGL40,
  107.                             0,
  108.                             MS_NONE
  109.                         } ;
  110. static MSGL40    d006d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  111.                              286, 280, 354, 302, 0,15, 8,
  112.                             MS_NONEL40,
  113.                             "確  認",
  114.                                1,  12,  12,
  115.                             MS_NONEL40,
  116.                                0,   0
  117.                         } ;
  118.  
  119.